import QtQuick 1.1

Rectangle {
    id: canvas
    height: 62
    clip: true
    property string text: ""

    Rectangle {
        anchors.fill: parent
        color: "black"
    }

    Text {
        id: text
        text: canvas.text
        color: "red"
        anchors.verticalCenter: canvas.verticalCenter
        NumberAnimation on x {
            from: canvas.width
            to: -text.width
            duration: 10000
            loops: Animation.Infinite
        }
    }

}
